package petShop;

class PetShop {

	 private Pet[] pets;

	 private Cat cats[];

	 private Dog dogs[];

	 public PetShop(int len){

		 if(len>0){

			 this.setPets(new Pet[len]);

		 }else{

			 this.setPets(new Pet[1]);

		 }

	 }

	 public Cat[] getCats(){

			return cats ;

		}

		public void setCats(Cat[] cats){

			this.cats=cats;

		}

		public Dog[] getDogs(){

			return dogs ;

		}

		public void setDogs(Dog[] dogs){

			this.dogs=dogs;

		}
		public Pet[] getPets() {
			return pets;
		}

		public void setPets(Pet[] pets) {
			this.pets = pets;
		}

	}


		
